Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing Triangles


Q3Triangle_New

You can use the Q3Triangle_New function to create a new triangle.

TQ3GeometryObject Q3Triangle_New (
const TQ3TriangleData *triangleData);
triangleData
A pointer to a TQ3TriangleData structure.
DESCRIPTION
The Q3Triangle_New function returns, as its function result, a new triangle having the vertices and attributes specified by the triangleData parameter. If a new triangle could not be created, Q3Triangle_New returns the value NULL.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996